from django.urls import path

from api import views

app_name = "api"

urlpatterns = [
    path("home/", views.home, name="home"),
    path("home_view/", views.HomeView.as_view(), name="home"),
    path("login_view/", views.LoginView.as_view(), name="login"),
    path("order_view/", views.OrderView.as_view(), name="order"),
    path("user_view/", views.UserView.as_view(), name="user"),
    # path("info_view/", views.InfoView.as_view(), name="info"),
    path("<str:version>/info_view/", views.InfoView.as_view(), name="info"),
    path("parse_view/", views.ParseView.as_view(), name="parse"),
    path("<str:version>/depart_view/", views.DepartView.as_view(), name="depart"),
    path("<str:version>/user_info_view/", views.UserInfoView.as_view(), name="userInfo"),
]
